Add hinge fixes from Big John:
http://cnanney.com/journal/code/css-flip-counter-revisited/#comment-1065437585