use visibility attribute for beam/filter switches