Revert removal of conditional sidebar display