adds hover effect to edit and search buttons