static int fetchAccentColor(Context context) {
        TypedValue typedValue = new TypedValue();

        TypedArray a = context.obtainStyledAttributes(typedValue.data, new int[] { R.attr.colorAccent });
        int color = a.getColor(0, 0);

        a.recycle();

        return color;
    }
Clear listeners for scroll events triggered by the scroll bar.
lib/src/main/java/com/turingtechnologies/materialscrollbar/MaterialScrollBar.java