Now takes a view controller rather than a view.

Can now divine whether or not you are using a toolbar or navigation
controller, and properly place the buttons, depending.