added vertical flip and shortened the wait