Fixing responsive styles on media gallery pages.