Fixed css for Gallery animation