adjust displacement for some default styles