updating styles for image swap.