fix the function prototype for the motion callbacks in our example viewers

fixes #149