min/max positions added to player movement