Styling the history based on snapshots