Just spend a few hours banging my head against the wall trying to figure out why my media query wasn't working, only to find out the reason was because i was supposed to put it after all of my css at the bottom of the file. Mine was at the top. But hey, at least the gallery is now semi-functional on mobile