hover over elements is now working properly