player movement and collision layer