Well I haven't found a good solution yet.

But you can:
1.) use a dummy panel (see previous posts)
2.) or use "pan_setevent(...);"..I think that works, too.