fixed some scrolling issues