Dynamics of water imbibition through paper with swelling