adding smart minize toggle.
Merge branch 'master' of https://github.com/pupil-labs/pyglui