Adding a loader for moving between pages