Added logic for touch events. Now app should respond the same way in mobile browsers.