Make the magnifier work again post tumblr redesign

I have altered the magnifier code so it works now.