removing static nature from navbar