Fix history list layout

Closes #249