added functionality to have labels and color them in mobile view