changed sliding function to take an object instead of 7 params
refactored resume sliding to not use 130874200 parameters
refactored resume sliding to not use 130874200 parameters