added touch handling, similar to the mouse browsing location.