Set pan bounds