updates to support magnific-popup, etc.