initial attempt at paging while scrolling
added paging to controls