added col-sm- class on top of col-md- class to make the view more flexible on small devices