updated touch and hold function, fixed freezing bug

complete rewrite from thread-based dpad to handler-based dpad