Added css transition to the main image