Side Menu / Navigation - The Dev Way

This way returns the Panel as an object so you can tie open, close, and toggle events to it however you want. This comes from the top.

                
                var easyPanel = $('#scotch-panel').scotchPanel({
                    containerSelector: 'body',
                    direction: 'right',
                    duration: 300,
                    transition: 'ease',
                    distanceX: '70%',
                    enableEscapeKey: true
                });

                $('.toggle-panel').click(function() {
                    easyPanel.toggle();
                    return false;
                });