Only show last 5 elements of log in simulation