fixed bug in flipping time viz