Make it work with multiple slide panel.