Fix mainpage flexbox layout