Add move to previous slide and fix bug.