Change main layout to fit smaller screens