better responsivnes for the gallery