Refactor "More posts" and "More threads" buttons.