scrolling bug fix

fix positioning of scrollable elements.