made scrolling work nicely