Bug 1023199 - Improve gallery flick test