How to stop the hover effect on form collapse