Added 'scrollToBottom' option