added ability to select between hover and click