Attempt to fix layout for mobile. Have not tested yet.