Refactored sliding adapter