Initially, the Frontier was considered a compact, but beginning with the totally redesigned model year 2005 Frontier (introduced at the 2004 North American International Auto Show), it became more mid-sized.
when it sits a while, it would indicate it is a heat issue after it warms back up. That could be because your transmission oil is low or long overdue for a change.