Updaded Scroller service to take the header size into consideration.