Use classes for hiding dock spacer