modifying horizontal image viewing mode