apply dynamic page loading