Changed position of petbar if petbarhorizontal true, removed connectionline from petbar