add hover and click functions jQuery