attempt to account for pixel density in animation, doesn't work