setting zorder for line profiles