css gallery transition added