Animate image swap on tab click