scrollToBottomAnimated: fix long message handling

fixes #480