Added hover and click handlers