some more progress, now adds events, and also can scroll left and right with mouse wheel.