Added options to disable prev and next controls.