params.put("prevMessage", prevMessage);
params.put("nextMessage", nextMessage);
Boolean topScroller;
SectionScrollModeEnum sectionScroller = sectionService.getScrollMode(topic.getSectionId());
if (prevMessage == null && nextMessage == null) {
topScroller = false;
} else {
topScroller = sectionScroller != SectionScrollModeEnum.NO_SCROLL;