pan inverted. it was wrong