add get_offset_element method which can be overrode by user, for scenarios like the validated element is hidden. e.g. issue #6