reintroduction of the maximize and close buttons, one tab can be set as active