change gallery and list for @media