fix view hideNavBar attribute, closes #394