repaired hover functionality