Display statehistory summary vertically

fixes #6636