fixed gallery bug in chrome, updated css