Added functionality for cyclic sliding