added handler to get direction and transition and propagates to changePage refs #231