updated magnifc popup script