fix broken mobile layouts