fixed some mobile issues with line charts