touch screen controls

Working on touch screen controls and activating and deactivating scripts
based on platform.