Revert "make maximize configurable"

This reverts commit 991176f5a084eba9c1ce8c878b3b7ec9487ae76a.