display.flip returns time since last flip
State updates based on display.flip