Tidies up pivot view