Refined sidebar condition