adds support for passing slides with left and right arrows [closes #7]