left and right scroll implemented