set autofocus on relevant pages