Toggle viewing mode

Change-Id: Ie1b6c08f7474271befe67fc18fb304dd04fe8fda