Move vertical alignment of public layout to mobile. Refs #8140