adjust menu position
hide maximize button if not resizable