fixes scrolling of div