Merge "Detect when pointer has stopped moving." into jb-dev