Added functionality to side-scroll