Switchable image display. TODO clear up memory