Add slider mode to gallery widget.