working towards < > buttons to move to prev/next avatars on the history dialog
refactoring
refactoring
refactoring
refactoring