completed first working version of touch controls