cleaned up files and added touch event for mobile devices.