changes gallery-item widht and height