Page transitiion js progress