Expose slide methods to allow programmatic opening/closing.

Not sure how to pull request one commit. github wants to make pull request out of other commits.