updated magnific popup, fixed media-gallery-item load in all pages