adding parameter to smooth out trail lines on mobile for slightly better performance