fix miscalculation in settingsPager initial offset