Hover animation for cards, gallery mobile fix