For the first few flick waves, a simple side to side motion will suffice.
For the ending however, the flicks are actually double layered. Therefore you want to slide such that there's one finger/thumb on top of the other vertically and that should get you the pattern registered every single time.