Modified code so that full screen is available only in web browser 

Fix for issue #99.