added a smooth progress to page transition