refactoring the dashboard, missing visibility toggle