made some minor changes to behavior of hover