refactored polymer app layout into new style