restore a mobile layout