I think it'd be better if you create a simple demo to illustrate the problem. It'll make the solution easier to find.