This contains code for a scrolling view