Limit slide-panel from extending too wide