working on the click function of the timeline dots. this works better