toggle massive actions box depending on checkboxs values