init mobile layout