update mobile layout