Implemented hero movement by swiping