use oop concept to create scroller object to handle page scroll