Added hovered class to table with galleries