implemented scrolling; using .hpp now