Hover effect refactor