Added hover and click events to sublinks