Fix gallery CSS positioning