Added touch listener (thanks to Vogella.com