ported polymer-layout #50