Added transition and fixed click event closing clusters