working on game mode panning