wall detection for player movement