Adds sidebar IoS detection for overflow. Fixes #1442, modal losing scroll position on mobile when package includes sidebar. #1320 issue with mobile scroll in docs