add zorder to element styles