Added functionality to detect mobile or non-mobile layout and serve the proper css