Used inbuilt hover function for mouseEnter and mouseLeave