Sidebar position updated with JavaScript (user question)