the first version without scroll to specified page