Fix issue with Magnific Popup and add CSS animations for SASS