Fixed url in ViewChange() function, reorganized elements in the sidebar