helper functions to hide/show dock & topbar