added helpers for slide movement