implemented font changing of the navigation on smaller resolution