made sidebar inclusion more similar to core (hide it under more circumstances)