Remove double binding that freezes the window when close the sidebar.