Addeded support for mobile (swiping events)