disable affix if sidebar is larger than window