hide buttons on hidden class