Added the touch function to the timeline buttons.