put scrolling behavior in right place