Added touch functionality and toggle sound function