fire event when clicking on a feature in the timeline, clean up unused code