temp workaround for keeping side bar when window is resized;