swap sidebar position