prevent docs right panel crop off