Allowing to pass scope to previous/next methods