Responisive gallery workaround.