proper rectangle direction when going vertical