Archiving jumps emailbox around

When I click archive (or use a keyboard shortcut) to archive something, it doesn’t progress to the next message always, it often jumps down to another email much further down the list?

See recording here: Recordit: Record screencasts fast & free! with GIF Support!

Any ideas of why this might happen, and how to fix it?