adds toggleClass(hide) to the magic button