Page Switcher for fancy and AMD based page loading