make the magic div