Improved the manual toolbar setup example positioning code.

Ready for merge.