setup for adding click events on the track element