sliding panel in page include not working

I have a sliding panel that works as expected.  however, when I include the page in another page the sliding panel stops working.

I’m able to make this work on 9.5.4. 

Can you provide any more details into what your setup is that would indicate what is causing the problem?