added check box for mobile or not mobile for drawing lines