add horiz/vertical options to the maximize action