Hide warning using scrollbar instead of outline view

Hiding only the outline view resulted in the scrollbar border being
visible even while hidden