It was water in the stylus. Dried it in the keep warm (not hot ) oven and it stopped glitching, the phone may be water resistant but the pen not so much. Paul
open