Implemented callback routine in TrackpadView

This abstracts away the dependency from the TrackpadView class such that
the view class is only interested in what's happening with itself.  This
then transfers the code into the MainActivity class which seems to be a
more appropriate class to handle manipulations and concurrency.