$sidebar length check