feature to keep player in the center of view