make magnifier button work