add two modes for ly-legislator page