Making the static datebar show/hide correctly, with the correct content