added dynamic navbar for mobile view