Some refactoring on the motor fragments

They now extends a new class - 'MotorFragment', which adds needed
functionality for the seekbar. Hence code duplication removed