Touch UI Control Fix

First attempt at relinking this all back up in Javascript, a few issues over portals and stalling