HOVER: A few improvements

- Fix touch outside handling
- Better handling logic for touch inputs
- Code style
- Tiny cleanup

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>