changed the styling on the div hover and clicked