Added toggle for stat view