Added support to mobile layout