fix(collapse): revert change to transition css
fix(collapse): revert change to transition css

- Revert change to `getScrollFromElement` function

Closes #6196
Fixes #6194

fpipita/bootstrap,RobJacobs/bootstrap,RobJacobs/bootstrap,BookingBug/bootstrap,looker/bootstrap,angular-ui/bootstrap,caoruiy/bootstrap,vfiles/bootstrap,caoruiy/bootstrap,Kpler/bootstrap,Servoy/bootstrap,Kpler/bootstrap,vfiles/bootstrap,BookingBug/bootstrap,icfantv/bootstrap,byronigoe/bootstrap,looker/bootstrap,Servoy/bootstrap,angular-ui/bootstrap,fpipita/bootstrap,icfantv/bootstrap,byronigoe/bootstrap