Add right-docking mode for Sphinx