moved parameters of Frame.pin to Frame.setPage