Preparing mobile layouts