created hover functionality