Change maintab to horizontal