Add generic slider implementation.