Fixed swiping issue for IPad and phones