I just implemented this, and it works flawlessly. It is a little confusing to setup but look at the demo.