remove float when the content-sidebar is invisible