handle position change (absolute/fixed <-> static transition)