implemented world bounds for player moverment