use offset parent "width" rather than "right".
This is because the "right" ends up being the wrong value for us.