Fix visibility function
Make max size visibility and hidden classes
Merge pull request #3 from NEURS/visibility_fix

Fix visibility function