adapt treatments index template for mobile screens