still need to figure out how to stop the image switching glitch