Layout fixes. Many changes to structure please review.

THIS IS SLIGHTLY BROKEN. TRYING TO FIX. I made a lot of changes to the layout. It was really broken on mobile. Looks better now but still needs some fixes. Please review before merge.