added mobile support to draw