Currently (in 5.1), this setting is on the main toolbar, just right of the Refresh button. There are three gray layout buttons, and this is the third one.
Refresh