added smooth walking without staying on tile connection