Only enable slider behaviour if there are at least two panes.
Merge pull request #7 from 4teamwork/jin-single-slider

Only enable slider behaviour if there are at least two panes.