added sliding and grouping functions to SF