Add option to define viewlet visibility

closes #14