Mobile gallery CSS fix