inserted check width js fn for pie factory navbar