Show loading icon when moving through pages