making hats face the proper direction