Quickly swap css properties in/out to get correct calculations