change mobile x,y to doubles, add speed