changes to allow scrolling