click on image to switch view.modes