Refactor of the WPD breadcrumbs bar based on the idea by @wernull