added calendar rotation - needs a small fix