Change image based on direction.