hacky image rotation, needs to be prettified before going live