Updated template file and fixed navbar issue on mobile device.

Mobile device issue resolved: Collapsed bar would not retract.