cleanup code
toggle the dynamic interface on tap and long press gestures