adding sliding transition to changing route