added smooth player movement