added click functionality to double-event