Added some support for mobile devices events