improve slideshow image size handling
fix gallery css