Make next/previous arrows conditional based on slide position.