cleaned up the scroll function