addition of trackpad handling to circularslider sample