Adding click events to picture, changing on click with animation