Paginate inside message list

:S I'm too used to my beloved JSHint that would have warned me about that. Fixed