show/hide as default method in view