using polymer and its layout attributes