added scrollToHour function. Included a test for it