added click, dblclick, and hover events