fix positioning and scrolling