Add responsive image swapping functionality