Call this function to initialize the adaptor called during mouse down and computes certain values like spacing in arbitrary direction, total number of slices
Call this function to perform the scroll put in the distance value If scaling is required for distance, input function should scale it
Class to perform computations for scrolling, called up by external interfaces