scrollToBottom and heightOfDocument