Add loading indicator for changing page