Refactor Slide Mechanism