Add $ref resolver
use float layout for editor header to make it work better in narrower widths