re-added line to turn off image player after a click