Toggle between maximized/unmaximized states on click of maxmize button.
Merge pull request #128 from xqwzts/toggle_maximize_unmaximize

Toggle between maximized/unmaximized states on click of maxmize button.