preparation for mobile layout