Added a callback to configuration object, so we can use the position offset from code